<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BOSS Afterburner: NamedObject.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">BOSS Afterburner
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('NamedObject_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">NamedObject.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="NamedObject_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef BOSS_Afterburner_NamedObject_H</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define BOSS_Afterburner_NamedObject_H</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &quot;TString.h&quot;</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;yaml-cpp/yaml.h&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="classNamedObject.html">   11</a></span>&#160;<span class="keyword">class </span><a class="code" href="classNamedObject.html">NamedObject</a></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;{</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;  <a class="code" href="classNamedObject.html#a7aaaa7211c7a57c7c4ecafea10d03b41">NamedObject</a>(<span class="keyword">const</span> TString&amp; name = <span class="stringliteral">&quot;&quot;</span>, <span class="keyword">const</span> TString title = <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="classNamedObject.html#a7daf5ee678c6d67785a6c1f72e1a5ff0">   16</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classNamedObject.html#a7daf5ee678c6d67785a6c1f72e1a5ff0">SetName</a>(<span class="keyword">const</span> TString&amp; name) { <a class="code" href="classNamedObject.html#a00cd4350c656cd66c118646016f788c7">fName</a> = name; }</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classNamedObject.html#a7daf5ee678c6d67785a6c1f72e1a5ff0">SetName</a>(<span class="keyword">const</span> YAML::Node&amp; input);</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classNamedObject.html#a85f25fcefd6fd55b5984757c657bd45f">   18</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classNamedObject.html#a85f25fcefd6fd55b5984757c657bd45f">SetTitle</a>(<span class="keyword">const</span> TString&amp; title) { <a class="code" href="classNamedObject.html#a74d654ce4783d29e2d7801d30e6df6ae">fTitle</a> = title; }</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classNamedObject.html#a85f25fcefd6fd55b5984757c657bd45f">SetTitle</a>(<span class="keyword">const</span> YAML::Node&amp; input);</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classNamedObject.html#a664eafb00d65fd2507f24c1a5d3a847e">SetNameAndTitle</a>(<span class="keyword">const</span> TString&amp; name, <span class="keyword">const</span> TString&amp; title);</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classNamedObject.html#a76bc8ba83b7a9136efd807d132217b1f">   22</a></span>&#160;  Bool_t <a class="code" href="classNamedObject.html#a76bc8ba83b7a9136efd807d132217b1f">HasName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !<a class="code" href="classNamedObject.html#a00cd4350c656cd66c118646016f788c7">fName</a>.EqualTo(<span class="stringliteral">&quot;&quot;</span>); }</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classNamedObject.html#a677444b4cd4af61b0964b9a05362dc97">   23</a></span>&#160;  Bool_t <a class="code" href="classNamedObject.html#a677444b4cd4af61b0964b9a05362dc97">HasTitle</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !<a class="code" href="classNamedObject.html#a74d654ce4783d29e2d7801d30e6df6ae">fTitle</a>.EqualTo(<span class="stringliteral">&quot;&quot;</span>); }</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classNamedObject.html#a1296e0c477d01e59b929197cfa1056f2">   24</a></span>&#160;  Bool_t <a class="code" href="classNamedObject.html#a1296e0c477d01e59b929197cfa1056f2">HasNameAndTitle</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classNamedObject.html#a76bc8ba83b7a9136efd807d132217b1f">HasName</a>() &amp;&amp; <a class="code" href="classNamedObject.html#a677444b4cd4af61b0964b9a05362dc97">HasTitle</a>(); }</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classNamedObject.html#aa3a8d78e8a832abd6f780385235a8d5a">   25</a></span>&#160;  Bool_t <a class="code" href="classNamedObject.html#aa3a8d78e8a832abd6f780385235a8d5a">HasNameOrTitle</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classNamedObject.html#a76bc8ba83b7a9136efd807d132217b1f">HasName</a>() || <a class="code" href="classNamedObject.html#a677444b4cd4af61b0964b9a05362dc97">HasTitle</a>(); }</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classNamedObject.html#a97d0d76604640ccaf1c2afdfc5625948">   27</a></span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classNamedObject.html#a97d0d76604640ccaf1c2afdfc5625948">GetName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classNamedObject.html#a00cd4350c656cd66c118646016f788c7">fName</a>.Data(); }</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classNamedObject.html#a4d19980a71a1bc6b5aba5214ce373bbc">   28</a></span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classNamedObject.html#a4d19980a71a1bc6b5aba5214ce373bbc">GetTitle</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classNamedObject.html#a74d654ce4783d29e2d7801d30e6df6ae">fTitle</a>.Data(); }</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classNamedObject.html#a6133e90501b00d75911c0ef33f5ac472">   30</a></span>&#160;  <span class="keyword">virtual</span> <span class="keyword">const</span> TString <a class="code" href="classNamedObject.html#a6133e90501b00d75911c0ef33f5ac472">BuildString</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classNamedObject.html#ab94bd9aa7ca3856691a82c8b9d5ac4f3">BuildString_Named</a>(); }</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;  <span class="keyword">const</span> TString <a class="code" href="classNamedObject.html#ab94bd9aa7ca3856691a82c8b9d5ac4f3">BuildString_Named</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classNamedObject.html#a00cd4350c656cd66c118646016f788c7">   35</a></span>&#160;  TString <a class="code" href="classNamedObject.html#a00cd4350c656cd66c118646016f788c7">fName</a>;</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classNamedObject.html#a74d654ce4783d29e2d7801d30e6df6ae">   36</a></span>&#160;  TString <a class="code" href="classNamedObject.html#a74d654ce4783d29e2d7801d30e6df6ae">fTitle</a>;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;};</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classNamedObject_html_a664eafb00d65fd2507f24c1a5d3a847e"><div class="ttname"><a href="classNamedObject.html#a664eafb00d65fd2507f24c1a5d3a847e">NamedObject::SetNameAndTitle</a></div><div class="ttdeci">void SetNameAndTitle(const TString &amp;name, const TString &amp;title)</div><div class="ttdef"><b>Definition:</b> <a href="NamedObject_8cxx_source.html#l00007">NamedObject.cxx:7</a></div></div>
<div class="ttc" id="classNamedObject_html_a74d654ce4783d29e2d7801d30e6df6ae"><div class="ttname"><a href="classNamedObject.html#a74d654ce4783d29e2d7801d30e6df6ae">NamedObject::fTitle</a></div><div class="ttdeci">TString fTitle</div><div class="ttdef"><b>Definition:</b> <a href="NamedObject_8h_source.html#l00036">NamedObject.h:36</a></div></div>
<div class="ttc" id="classNamedObject_html_a97d0d76604640ccaf1c2afdfc5625948"><div class="ttname"><a href="classNamedObject.html#a97d0d76604640ccaf1c2afdfc5625948">NamedObject::GetName</a></div><div class="ttdeci">const char * GetName() const</div><div class="ttdef"><b>Definition:</b> <a href="NamedObject_8h_source.html#l00027">NamedObject.h:27</a></div></div>
<div class="ttc" id="classNamedObject_html_ab94bd9aa7ca3856691a82c8b9d5ac4f3"><div class="ttname"><a href="classNamedObject.html#ab94bd9aa7ca3856691a82c8b9d5ac4f3">NamedObject::BuildString_Named</a></div><div class="ttdeci">const TString BuildString_Named() const</div><div class="ttdef"><b>Definition:</b> <a href="NamedObject_8cxx_source.html#l00027">NamedObject.cxx:27</a></div></div>
<div class="ttc" id="classNamedObject_html_a76bc8ba83b7a9136efd807d132217b1f"><div class="ttname"><a href="classNamedObject.html#a76bc8ba83b7a9136efd807d132217b1f">NamedObject::HasName</a></div><div class="ttdeci">Bool_t HasName() const</div><div class="ttdef"><b>Definition:</b> <a href="NamedObject_8h_source.html#l00022">NamedObject.h:22</a></div></div>
<div class="ttc" id="classNamedObject_html_a7daf5ee678c6d67785a6c1f72e1a5ff0"><div class="ttname"><a href="classNamedObject.html#a7daf5ee678c6d67785a6c1f72e1a5ff0">NamedObject::SetName</a></div><div class="ttdeci">void SetName(const TString &amp;name)</div><div class="ttdef"><b>Definition:</b> <a href="NamedObject_8h_source.html#l00016">NamedObject.h:16</a></div></div>
<div class="ttc" id="classNamedObject_html_a677444b4cd4af61b0964b9a05362dc97"><div class="ttname"><a href="classNamedObject.html#a677444b4cd4af61b0964b9a05362dc97">NamedObject::HasTitle</a></div><div class="ttdeci">Bool_t HasTitle() const</div><div class="ttdef"><b>Definition:</b> <a href="NamedObject_8h_source.html#l00023">NamedObject.h:23</a></div></div>
<div class="ttc" id="classNamedObject_html_a7aaaa7211c7a57c7c4ecafea10d03b41"><div class="ttname"><a href="classNamedObject.html#a7aaaa7211c7a57c7c4ecafea10d03b41">NamedObject::NamedObject</a></div><div class="ttdeci">NamedObject(const TString &amp;name=&quot;&quot;, const TString title=&quot;&quot;)</div><div class="ttdef"><b>Definition:</b> <a href="NamedObject_8cxx_source.html#l00004">NamedObject.cxx:4</a></div></div>
<div class="ttc" id="classNamedObject_html_aa3a8d78e8a832abd6f780385235a8d5a"><div class="ttname"><a href="classNamedObject.html#aa3a8d78e8a832abd6f780385235a8d5a">NamedObject::HasNameOrTitle</a></div><div class="ttdeci">Bool_t HasNameOrTitle() const</div><div class="ttdef"><b>Definition:</b> <a href="NamedObject_8h_source.html#l00025">NamedObject.h:25</a></div></div>
<div class="ttc" id="classNamedObject_html_a6133e90501b00d75911c0ef33f5ac472"><div class="ttname"><a href="classNamedObject.html#a6133e90501b00d75911c0ef33f5ac472">NamedObject::BuildString</a></div><div class="ttdeci">virtual const TString BuildString() const</div><div class="ttdef"><b>Definition:</b> <a href="NamedObject_8h_source.html#l00030">NamedObject.h:30</a></div></div>
<div class="ttc" id="classNamedObject_html_a85f25fcefd6fd55b5984757c657bd45f"><div class="ttname"><a href="classNamedObject.html#a85f25fcefd6fd55b5984757c657bd45f">NamedObject::SetTitle</a></div><div class="ttdeci">void SetTitle(const TString &amp;title)</div><div class="ttdef"><b>Definition:</b> <a href="NamedObject_8h_source.html#l00018">NamedObject.h:18</a></div></div>
<div class="ttc" id="classNamedObject_html"><div class="ttname"><a href="classNamedObject.html">NamedObject</a></div><div class="ttdef"><b>Definition:</b> <a href="NamedObject_8h_source.html#l00011">NamedObject.h:11</a></div></div>
<div class="ttc" id="classNamedObject_html_a1296e0c477d01e59b929197cfa1056f2"><div class="ttname"><a href="classNamedObject.html#a1296e0c477d01e59b929197cfa1056f2">NamedObject::HasNameAndTitle</a></div><div class="ttdeci">Bool_t HasNameAndTitle() const</div><div class="ttdef"><b>Definition:</b> <a href="NamedObject_8h_source.html#l00024">NamedObject.h:24</a></div></div>
<div class="ttc" id="classNamedObject_html_a4d19980a71a1bc6b5aba5214ce373bbc"><div class="ttname"><a href="classNamedObject.html#a4d19980a71a1bc6b5aba5214ce373bbc">NamedObject::GetTitle</a></div><div class="ttdeci">const char * GetTitle() const</div><div class="ttdef"><b>Definition:</b> <a href="NamedObject_8h_source.html#l00028">NamedObject.h:28</a></div></div>
<div class="ttc" id="classNamedObject_html_a00cd4350c656cd66c118646016f788c7"><div class="ttname"><a href="classNamedObject.html#a00cd4350c656cd66c118646016f788c7">NamedObject::fName</a></div><div class="ttdeci">TString fName</div><div class="ttdef"><b>Definition:</b> <a href="NamedObject_8h_source.html#l00035">NamedObject.h:35</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_bfccd401955b95cf8c75461437045ac0.html">inc</a></li><li class="navelem"><a class="el" href="dir_c9669852a30ec5c19174cea431e29c05.html">Containers</a></li><li class="navelem"><a class="el" href="NamedObject_8h.html">NamedObject.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
